package com.dy.service;

import com.dy.domain.FenLei;
import com.dy.domain.pojo.PageBean;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.io.IOException;
import java.util.List;

public interface FenLeiService {
    PageBean<FenLei> findPage(Integer pageNo, Integer pageSize, String ming);

    void add(FenLei fenLei) throws JsonProcessingException;

    FenLei huixian(Integer id);

    void update(FenLei fenLei) throws JsonProcessingException;

    void del(Integer id) throws JsonProcessingException;

    List<FenLei> findall() throws IOException;

}
